package org.jeecg.modules.demo.crm.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.demo.crm.entity.CNotice;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 通知
 * @Author: jeecg-boot
 * @Date:   2025-07-27
 * @Version: V1.0
 */
public interface CNoticeMapper extends BaseMapper<CNotice> {

    @Select("select * from c_notice where mail_status = '待发送' ")
    List<CNotice> sendEmail();

    @Select("select * from c_notice where wx_status = '待发送' ")
    List<CNotice> sendWx();
}
